package com.ws.action;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created by WS on 2018/1/23.
 */
@RestController
@RequestMapping
public class HelloWorldController {

    @GetMapping("/sayHello")
    public String sayHelloWorld(){
        return "Hello,world !";
    }
}
